<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>全部职位显示</title>
		<%@include file="/view/common/js-css.jspf" %>
	</head>
	<body>
		<a href="<%=request.getContextPath() %>/view/talent/login.jsp">求职者登录</a> | 
		<a href="<%=request.getContextPath() %>/view/talent/register.jsp">求职者注册</a> | 
		<a href="<%=request.getContextPath() %>/view/company/login.jsp">企业登录</a> | 
		<a href="<%=request.getContextPath() %>/view/company/register.jsp">企业注册</a>
		<center><h1>全部职位显示</h1></center>
		<hr>
		
		<c:forEach items="${positionList }" var="position">
			${position.companyName }　"${position.companySlogan }"<br>
			<a href="<%=request.getContextPath()%>/PositionServlet?command=detail&positionId=${position.id }">${position.name }</a>　￥${position.salary1 }-${position.salary2 }　${position.companyAddress }　<fmt:formatDate value="${position.releaseTime }" pattern="yyyy-MM-dd HH:mm:ss"/><br><br>
		</c:forEach>
	</body>
</html>